package cn.com.open.opensaas.answerservice.service;

import cn.com.open.opensaas.answerservice.model.question.QuestionContent;
import cn.com.open.opensaas.answerservice.model.question.QuestionContentJsonModel;

import java.util.List;
import java.util.Map;

public interface QuestionContentService {

	/**
	 * 根据Ids批量获取QuestionContent
	 * @param questionIds
	 * @return
	 */
	List<QuestionContent> findDBQuestionByIds(List questionIds);

	/**
	 * 批量获取数据库中试题
	 * @param questionList
	 * @return
	 */
//	List<Map<String,Object>> batchFindDbQuestion(List<Map<String, Object>> questionList);

	/**
	 * 批量获取数据库中试题
	 * @param questionList
	 * @return
	 */
	List<QuestionContent> batchFindDbQuestion(List<QuestionContentJsonModel> questionList);

}